//
//  XZViewController.m
//  自定义键盘
//
//  Created by admin on 14-2-25.
//  Copyright (c) 2014年 Eonman. All rights reserved.
//  

#import "XZViewController.h"
#import "RoyaDialView.h"

@interface XZViewController ()

@end

@implementation XZViewController

@synthesize royaDialView;

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    
    UILabel *txtNumber = [[UILabel alloc]initWithFrame:CGRectMake(10, 30, 300, 100)];
    txtNumber.backgroundColor = [UIColor yellowColor];
    [self.view addSubview:txtNumber];
    
    royaDialView = [[RoyaDialView alloc]init:txtNumber];
    [royaDialView showInView:self.view];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
